﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LL.Common
{
    /// <summary>
    /// 默认的主键类型（Guid）
    /// </summary>
    public interface IIdentity : IIdentity<Guid>
    {

    }

    /// <summary>
    /// 主键
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IIdentity<T>
    {
        T Id { get; set; }
    }

}
